package com.numberone.master.modules.profit.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.numberone.master.common.persistence.CrudDao;
import com.numberone.master.common.persistence.annotation.MyBatisDao;
import com.numberone.master.modules.profit.entity.Account;

/**
 * 利润DAO接口
 * @author chengkang
 * @version 2018-02-12
 */
@MyBatisDao
public interface AccountDao extends CrudDao<Account> {
	List<Account> withdrawaPage(Account a);
	
	Double getTotalMoney(@Param("accountNo")String accountNo);
	
	Double getProfitMoney(@Param("accountNo")String accountNo);
	
}